import type { RouteRecordRaw } from "vue-router";

export const ROOM_ROUTE_NAME = "room";
export const ROOM_ROUTE_PATH = "/room";

export const ROOM_CREATE_ROUTE_NAME = "room.create";

export const ROOM_CLOSED_ROUTE_NAME = "room.closed";

export default [
    {
        name: ROOM_ROUTE_NAME,
        path: ROOM_ROUTE_PATH,
        component: () => import("@/pages/room/wrapper.vue"),
        meta: {
            authentication: true
        }
    },
    {
        name: ROOM_CREATE_ROUTE_NAME,
        path: "/room/create",
        component: () => import("@/pages/room/pages/room-create/index.vue"),
        meta: {
            authentication: true
        }
    },
    {
        name: ROOM_CLOSED_ROUTE_NAME,
        path: "/room/closed",
        component: () => import("@/pages/room/pages/room-closed/index.vue")
    }
] as RouteRecordRaw[]